import SearchInput from './SearchInput/index.vue'
import PageLimit from './PageLimit/index.vue'
export interface IOptions {
  components: {}
}

interface IHoloUI {
  install: (vue: any, options: IOptions) => void
}

const holoUI: IHoloUI = {
  install: function() {}
}

holoUI.install = function(Vue, options) {
  Vue.mixin({
    components: (options && options.components) || {
      'holo-searchInput': SearchInput,
      'holo-pageLimit': PageLimit
    }
  })
}

export default holoUI
export { SearchInput, PageLimit }
